package com.baidu.speech.qr_code.ui.home;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.widget.TextView;
import android.widget.Toast;

import androidx.appcompat.app.AppCompatActivity;

import com.baidu.speech.qr_code.R;

public class Distinguish_code extends AppCompatActivity {

    private TextView tv_distinguish;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_distinguish_code);
        initView();
    }

    private void initView() {
        tv_distinguish = (TextView) findViewById(R.id.tv_distinguish);
        Intent intent=getIntent();
        final String data=intent.getStringExtra("Distinguish");
        tv_distinguish.setText(data);
        Log.d("TAG", "initViewDist"+data);
    }
}